package light.head.model.el;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
/**
 * 课程题目表
 */
@Table
@Entity
@IdClass(TopicCourseRelationPK.class)
public class TopicCourseRelation implements Serializable{
	
	private static final long serialVersionUID = 1817087741462822375L;
	private Integer cc;				// 课程编号
	private Integer tc;				// 题目编号
	
	@Id
	@Column
	public Integer getCc() {
		return cc;
	}
	@Id
	@Column
	public Integer getTc() {
		return tc;
	}
	public void setCc(Integer cc) {
		this.cc = cc;
	}
	public void setTc(Integer tc) {
		this.tc = tc;
	}
}
